package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName review
 */
@TableName(value ="review")
@Data
public class Review implements Serializable {
    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Integer reviewid;

    /**
     * 评论帖子id
     */
    private Integer r_forumid;

    /**
     * 评论内容
     */
    private String reviewdetail;

    /**
     * 发帖用户
     */
    private Integer ref_uid;

    /**
     * 评论用户
     */
    private Integer re_uid;

    /**
     * 评论时间
     */
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date redate;

    private String re_file;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}